import Vue from 'vue'
Vue.filter('timeFilter', function ([start, end]) {
  let startTime = start.match(/ \d{2}:\d{2}/)[0]
  let endTime = end.match(/ \d{2}:\d{2}/)[0]
  return startTime + '-' + endTime
})
